builder-tool: Rewrite GtkBox
authorJason Francis <jason@cycles.network>
Mon, 17 Aug 2020 01:32:21 +0000 (21:32 -0400)
committerJason Francis <jason@cycles.network>
Fri, 21 Aug 2020 03:41:29 +0000 (23:41 -0400)
commit2437622b5f0f444521c731758fdea85103bd20af
treeed354484fbd21f1cbf5e517f15f6bcd1093470b5
parentbb8c818ba14ffde882f31359e09efd6e9215c593
builder-tool: Rewrite GtkBox

Rewrite expand/fill properties on GtkBox to
hexpand/halign/vexpand/valign on the child widget.

Rewrite GtkVBox and GtkHBox to GtkBox, setting the orientation
property.

Added a test for boxes.
gtk/tools/gtk-builder-tool-simplify.c
testsuite/tools/simplify-data-3to4/box.expected [new file with mode: 0644]
testsuite/tools/simplify-data-3to4/box.ui [new file with mode: 0644]
testsuite/tools/simplify-data-3to4/gtkfilechooserdialog.expected
testsuite/tools/simplify-data-3to4/office-runner.expected